package API.DAY1;

public class TrimDemo {//删除字符串两端的空格
    public static void main(String[] args) {
        String str = "   Hello World    ";
//        String a = str.trim();
//        System.out.println(a);
        System.out.println(str);
        System.out.println(str.trim());
    }
}
